package info.nixbear.tgcms.admin.shared.request;

import info.nixbear.tgcms.services.dao.EntityServiceLocator;
import info.nixbear.tgcms.services.dao.RedirectDao;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(value=RedirectDao.class, locator=EntityServiceLocator.class)
public interface RedirectRequest extends RequestContext {
	
	Request<List<RedirectProxy>> listAll();

	Request<RedirectProxy> get(Long id);

	Request<RedirectProxy> put(RedirectProxy entity);

	Request<Void> delete(RedirectProxy entity);

}
